<template>
  <!--  403-->
  <div v-if="true" class="content">
    <img src="@/assets/images/error/Frame.png" alt="" />
    <p class="text">您没有权限访问该页面</p>
    <!-- <a-button type="primary" html-type="submit" @click="toHome">回到首页</a-button> -->
  </div>
  <!--  404-->
  <div v-else class="error">
    <img src="@/assets/images/error/Group.png" alt="" />
  </div>
</template>
<script setup>
import { useRouter } from 'vue-router';
const router = useRouter();
function toHome() {
  router.push({
    path: '/admin/usersInfo'
  });
}
</script>
<style lang="less" scoped>
.content {
  text-align: center;
  margin-top: 100px;
  .text {
    color: #666666;
    line-height: 65px;
    font-size: 16px;
  }
  img {
    margin: auto;
  }
}
.error {
  text-align: center;
  margin-top: 150px;
  img {
    margin: auto;
  }
}
</style>
